package com.wn.class30.cotroller.houtai;

import com.wn.class30.entity.AdminUser;
import com.wn.class30.service.AdminUserService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
@Controller
public class TestController {

    @Resource
    private AdminUserService adminUserService;

    @GetMapping(value = "/test")
    public String testC(){

        return "success";
    }

    @RequestMapping("/houtai/logout")
    public String selectAdminUserById()throws Exception{
        System.out.println("进入退出了");
        return "/houtai/page/adminuser/login.html";
    }
}
